package base

import "HandWritingJVM/rtda"

func Branch(frame *rtda.Frame, offset int) {
	pc := frame.Thread().PC()
	nexPc := pc + offset
	frame.SetNextPC(nexPc)
}
